package com.neuedu.boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 诊疗信息
 * </p>
 *
 * @author 金山老师
 * @since 2024-04-01
 */
public class Register implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id病历号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 身份证号
     */
    private String idno;

    /**
     * 出生日期
     */
    private LocalDate birthday;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 家庭住址
     */
    private String address;

    /**
     * 挂号级别
     */
    private Integer regsitLevelId;

    /**
     * 挂号科室
     */
    private Integer deptId;

    /**
     * 看诊医生
     */
    private Integer doctorId;

    /**
     * 是否要病历本
     */
    private Integer book;

    /**
     * 看诊时间
     */
    private LocalDate visittime;

    /**
     * 挂号费用
     */
    private BigDecimal fee;

    /**
     * 主诉
     */
    private String readme;

    /**
     * 现病史
     */
    private String present;

    /**
     * 现病史治疗情况
     */
    private String presentTreat;

    /**
     * 既往史
     */
    private String history;

    /**
     * 过敏史
     */
    private String allergy;

    /**
     * 确诊疾病
     */
    private String disease;

    /**
     * 处置方案
     */
    private String suit;

    /**
     * 药品清单
     */
    private String drug;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 是否有效，1 有效，0 失效
     */
    private Integer active;

    /**
     * 创建时间
     */
    private LocalDateTime createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getIdno() {
        return idno;
    }

    public void setIdno(String idno) {
        this.idno = idno;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getRegsitLevelId() {
        return regsitLevelId;
    }

    public void setRegsitLevelId(Integer regsitLevelId) {
        this.regsitLevelId = regsitLevelId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getBook() {
        return book;
    }

    public void setBook(Integer book) {
        this.book = book;
    }

    public LocalDate getVisittime() {
        return visittime;
    }

    public void setVisittime(LocalDate visittime) {
        this.visittime = visittime;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public String getReadme() {
        return readme;
    }

    public void setReadme(String readme) {
        this.readme = readme;
    }

    public String getPresent() {
        return present;
    }

    public void setPresent(String present) {
        this.present = present;
    }

    public String getPresentTreat() {
        return presentTreat;
    }

    public void setPresentTreat(String presentTreat) {
        this.presentTreat = presentTreat;
    }

    public String getHistory() {
        return history;
    }

    public void setHistory(String history) {
        this.history = history;
    }

    public String getAllergy() {
        return allergy;
    }

    public void setAllergy(String allergy) {
        this.allergy = allergy;
    }

    public String getDisease() {
        return disease;
    }

    public void setDisease(String disease) {
        this.disease = disease;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    public String getDrug() {
        return drug;
    }

    public void setDrug(String drug) {
        this.drug = drug;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getActive() {
        return active;
    }

    public void setActive(Integer active) {
        this.active = active;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Register{" +
            "id = " + id +
            ", name = " + name +
            ", gender = " + gender +
            ", idno = " + idno +
            ", birthday = " + birthday +
            ", age = " + age +
            ", address = " + address +
            ", regsitLevelId = " + regsitLevelId +
            ", deptId = " + deptId +
            ", doctorId = " + doctorId +
            ", book = " + book +
            ", visittime = " + visittime +
            ", fee = " + fee +
            ", readme = " + readme +
            ", present = " + present +
            ", presentTreat = " + presentTreat +
            ", history = " + history +
            ", allergy = " + allergy +
            ", disease = " + disease +
            ", suit = " + suit +
            ", drug = " + drug +
            ", status = " + status +
            ", active = " + active +
            ", createtime = " + createtime +
        "}";
    }
}
